package com.example.treehole.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
//消息
@Data
@TableName("message")
public class Message {
    @TableId
    public String id;
    public String userid;
    public String chatId;
    public String toId;
    public String content;
    public String time;
    @TableField(exist = false)
    public User user;
    public int unread;
}
